typedef unsigned int uint;
typedef unsigned char uchar;
typedef uchar block;


#define NPOOLS 256

#define POOL_SIZE (1 << 20)
#define BLOCK_SIZE (1 << 12)

#define ALIGNMENT (1 << 12)
#define ALIGNMASK (ALIGNMENT - 1)

#define PAGE 1
#define CHANGABLE 2
#define BIGMEM  4

void mp_init();
block *mp_alloc(uint size, int opinion);
block *mp_realloc(block *address, uint size);
void mp_free(block *address);

